export default {
    totalPrice(state){
       return state.cart.reduce((result,item)=>{
            result += item.count * item.price
            return result
        },0)
    },
    
}